#include <riscv/float_number.h>

namespace riscv{
  FloatNumber::FloatNumber(int index, float _number): number(_number) {
    this->name = std::string(".LF") + std::to_string(index);
  }

  std::string FloatNumber::get_name() {
    return this->name;
  }

  float FloatNumber::get_number() {
    return this->number;
  }
}
